﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AccessorialChargesDetail.aspx.cs" Inherits="WMS6.Web.Billing.AccessorialChargesDetail" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>AccessorialChargesDetail</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>
    <script src="../Js/Verification.js" type="text/javascript"></script>
    <script type="text/javascript">
        //初始化页面
        window.onload = function() {
            initDetailPage();
        }
        //弹出窗口选择费率代码
        function selectRate() {
            var rtnValue = popModalWindow('../Billing/RateQuery.aspx?action=txtRateID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if (rtnValue != null && rtnValue.toString() != "") {
                document.getElementById("txtRateID").focus();
                document.getElementById("txtRateID").value = rtnValue;
            }
        }
        //弹出窗口选择总账分配
        function selectGeneralLedger() {
            var rtnValue = popModalWindow('../Billing/GeneralLedgerQuery.aspx?action=txtGeneralLedgerID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if (rtnValue != null && rtnValue.toString() != "") {
                document.getElementById("txtGeneralLedgerID").focus();
                document.getElementById("txtGeneralLedgerID").value = rtnValue;
            }
        }
        //弹出窗口选择附加费
        function selectAccessorial() {
            var rtnValue = popModalWindow('../Billing/AccessorialQuery.aspx?action=txtAccessorialID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if (rtnValue != null && rtnValue.toString() != "") {
                document.getElementById("txtAccessorialID").focus();
                document.getElementById("txtAccessorialID").value = rtnValue;
            }
        }    
    </script>

</head>
<body>
    <form id="F9183" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblAreaDetail" runat="server" CssClass="label_header" 
                            Text="附加费分配明细" meta:resourcekey="lblAreaDetail"></asp:Label>
                    </td>
                    <td><asp:Button ID="btnCancel" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCancel%>" 
                            AccessKey="c" Enabled="False" OnClick="btnCancel_Click" 
                            /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" 
                            AccessKey="s"  Enabled="False" OnClick="btnSave_Click" 
                             /></td>
                </tr>
            </table>
        </div>
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="imgL1">
                </div>
            </div>
            <div class="tabLabelCont tabCur" id="div1">
                <asp:Label ID="one1" runat="server" class="hover" Text="价目明细" 
                    meta:resourcekey="one1"></asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="imgR1">
                </div>
            </div>
        </div>
        <div id="div_content">
            <div id="con_one_1" style="display: block;">
                <table width="720" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblAccessorialChargesID" runat="server" CssClass="label" 
                                Text="附加费用分配编号" meta:resourcekey="lblAccessorialChargesID"></asp:Label><span
                                class="must_input">*</span>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="描述" 
                                meta:resourcekey="lblDescr"></asp:Label>
                        </td>
                        <td width="180">                          
                        </td>
                        <td width="180">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtAccessorialChargesID" runat="server" CssClass="textbox" 
                                MaxLength="30" meta:resourcekey="txtAccessorialChargesID" ></asp:TextBox>
                      </td>
                        <td colspan="2">
                            <asp:TextBox ID="txtDescr" runat="server" CssClass="largetextbox"   
                                MaxLength="30" meta:resourcekey="txtDescr" ></asp:TextBox>
                        </td>
                       
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblOrderID" runat="server" CssClass="label" Text="单据编号" 
                                meta:resourcekey="lblOrderID"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblLineID" runat="server" CssClass="label" Text="行号" 
                                meta:resourcekey="lblLineID"></asp:Label>                           
                        </td>
                        <td width="180">
                            <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主" 
                                meta:resourcekey="lblOwnerID"></asp:Label>
                        </td>
                        <td width="180">
                         
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" Enabled="False" 
                                meta:resourcekey="txtOrderID" ></asp:TextBox>
                        </td>
                        <td>
                           <asp:TextBox ID="txtLineID" runat="server" CssClass="textbox" Enabled="False" 
                                meta:resourcekey="txtLineID" ></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" Enabled="False" 
                                meta:resourcekey="txtOwnerID" ></asp:TextBox>
                        </td>
                        <td>                         
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblSkuID" runat="server" CssClass="label" Text="货品" 
                                meta:resourcekey="lblSkuID"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblLot" runat="server" CssClass="label" Text="批号" 
                                meta:resourcekey="lblLot"></asp:Label>
                        </td>
                        <td width="180">
                       <asp:Label ID="lblQty" runat="server" CssClass="label" Text="数量" 
                                meta:resourcekey="lblQty"></asp:Label>
                        </td>
                        <td width="180">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSkuID" runat="server" CssClass="textbox" Enabled="False" 
                                meta:resourcekey="txtSkuID"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtLot" runat="server" CssClass="textbox" Enabled="False" 
                                meta:resourcekey="txtLot"></asp:TextBox>
                        </td>
                        <td>
                           <asp:TextBox ID="txtQty" runat="server" CssClass="textbox" Enabled="False" 
                                meta:resourcekey="txtQty"></asp:TextBox>                    
                        </td>
                        <td>
                        </td>
                    </tr>
                     <tr>
                        <td width="180">
                            <asp:Label ID="lblBilledUnits" runat="server" CssClass="label" Text="开票单位" 
                                meta:resourcekey="lblBilledUnits"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblAccessorialID" runat="server" CssClass="label" Text="附加费" 
                                meta:resourcekey="lblAccessorialID"></asp:Label><span
                                class="must_input">*</span>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblGeneralLedgerID" runat="server" CssClass="label" Text="总账分配" 
                                meta:resourcekey="lblGeneralLedgerID"></asp:Label><span
                                class="must_input">*</span>
                        </td>
                        <td width="180">                                      
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtBilledUnits" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtBilledUnits"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtAccessorialID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtAccessorialID"></asp:TextBox><img src="../Images/icon_find.gif" id="img3" runat="server" alt="select one item" class="img" onclick="selectAccessorial();"/>
                        </td>
                        <td>
                            <asp:TextBox ID="txtGeneralLedgerID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtGeneralLedgerID"></asp:TextBox><img src="../Images/icon_find.gif" id="img1" runat="server" alt="select one item" class="img" onclick="selectGeneralLedger();"/>
                        </td>
                        <td>                        
                        </td>
                    </tr>
                       <tr>
                        <td width="180">
                            <asp:Label ID="lblRateID" runat="server" CssClass="label" Text="费率" 
                                meta:resourcekey="lblRateID"></asp:Label><span
                                class="must_input">*</span>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblChargeUnit" runat="server" CssClass="label" Text="计费单位" 
                                meta:resourcekey="lblChargeUnit"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblChargePerUnit" runat="server" CssClass="label" Text="每单位" 
                                meta:resourcekey="lblChargePerUnit"></asp:Label>
                        </td>
                        <td width="180">                                      
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtRateID" runat="server" CssClass="textbox" 
                                onblur="Javascript:dataVer._Is123OrX(this,'lblMsg')" 
                                meta:resourcekey="txtRateID" ></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtChargeUnit" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtChargeUnit"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtChargePerUnit" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtChargePerUnit"></asp:TextBox>
                        </td>
                        <td>                        
                        </td>
                    </tr>     
                      <tr>
                        <td width="180">
                            <asp:Label ID="lblTaxGroupID" runat="server" CssClass="label" Text="税组" 
                                meta:resourcekey="lblTaxGroupID"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblChargeInvocation" runat="server" CssClass="label" Text="已调用" 
                                meta:resourcekey="lblChargeInvocation"></asp:Label>
                        </td>
                        <td width="180">
                             <asp:Label ID="lblDebit" runat="server" CssClass="label" Text="借方" 
                                 meta:resourcekey="lblDebit"></asp:Label>
                        </td>
                        <td width="180">                                      
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtTaxGroupID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtTaxGroupID"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtChargeInvocation" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtChargeInvocation"></asp:TextBox>
                        </td>
                        <td>
                           <asp:TextBox ID="txtDebit" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtDebit"></asp:TextBox>
                        </td>
                        <td>                        
                        </td>
                    </tr>                    
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <input type="hidden" id="hdnFrom" runat="server" />
    <input type="hidden" id="hdnTariffID" runat="server" />
    <input type="hidden" id="hdnFlag" runat="server" />
      <input type="hidden" id="hdnType" runat="server" />
    </form>
</body>
</html>

